package org.edu.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.edu.modules.base.entity.VeDictionary;

@Mapper
public abstract interface VeDictionaryMapper extends BaseMapper<VeDictionary> {

    public abstract List<VeDictionary> selectAll(@Param("veDictionary") VeDictionary veDictionary, @Param("startLine") Integer startLine, @Param("pageSize") Integer pageSize);

    public abstract List<VeDictionary> getRootList();

    public abstract List<VeDictionary> getBodyList();

    public abstract void saves(VeDictionary dictionary);

    public abstract int deleteDictionary(String id);

    public abstract int deleteDictData(String code);
}
